To make the pesto, combine the basil, avocado, cheese, pine nuts and garlic in a food processor. Pulse until small crumbs remain, and then with the processor running, stream in the olive oil. Start with the 1/2 cup and add the extra if needed to reach the desired consistency. Add the salt, pepper and pepper flakes and blend again. Taste and season additionally if needed.